package com.syyo.gulimall.product.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: wang
 * @date: 2021/3/25 14:31
 * @Description: 2级分类vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {

    private String catalog1Id; // 1级分类的id
    private List<Catelog3Vo> catalog3List; // 3级分类的id
    private String id;
    private String name;

    // 3级分类vo
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{
        private String catalog2Id; // 2级分类的id
        private String id;
        private String name;
    }


}
